package com.smartpro.mis.modular.system.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 商品分组表
 * </p>
 *
 * @author mengiy123
 * @since 2019-04-10
 */
public class ProductClass extends Model<ProductClass> {

    private static final long serialVersionUID = 1L;

    /**
     * 分组id
     */
    @TableId(value = "classID", type = IdType.AUTO)
    private Integer classID;
    /**
     * 分组名称
     */
    private String className;
    /**
     * 创建日期
     */
    private String createTime;
    /**
     * 排序
     */
    private int sequence;
    /**
     * 图片url
     */
    private String imageUrl;
    
    public Integer getClassID() {
        return classID;
    }

    public void setClassID(Integer classID) {
        this.classID = classID;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    @Override
    protected Serializable pkVal() {
        return this.classID;
    }

    public String getCreateTime() {
			return createTime;
		}

		public void setCreateTime(String createTime) {
			this.createTime = createTime;
		}



		public int getSequence() {
			return sequence;
		}

		public void setSequence(int sequence) {
			this.sequence = sequence;
		}

		public String getImageUrl() {
			return imageUrl;
		}

		public void setImageUrl(String imageUrl) {
			this.imageUrl = imageUrl;
		}

		@Override
    public String toString() {
        return "ProductClass{" +
        "classID=" + classID +
        ", className=" + className +
        "}";
    }
}
